package chinatelecom.feilong.framework.web.sys.service.impl;


import chinatelecom.feilong.framework.web.sys.dao.IUserRoleRelatonDao;
import chinatelecom.feilong.framework.web.sys.entity.SysUserRoleRelation;
import chinatelecom.feilong.framework.web.sys.service.IUserRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by jred on 2017/6/22.
 */
@Service
public class UserRoleServiceImpl implements IUserRoleService {

    @Resource
    private IUserRoleRelatonDao userRoleRelatonDao;


    @Override
    public SysUserRoleRelation saveUserRole(SysUserRoleRelation userRoleRelation) {
        return userRoleRelatonDao.save(userRoleRelation);
    }

}
